package com.neuedu.proapi.controller;

import com.neuedu.proapi.service.MaxMinScoresService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@CrossOrigin(origins = "*")
@RestController
public class MaxMinScoresController {
    @Autowired
    private MaxMinScoresService maxMinScoresService;
    @GetMapping("/queryAllMaxMinScores")
    public Object queryAllMaxMinScores(){
        return maxMinScoresService.queryAllMaxMinScores();
    }
}
